package com.seis_645.appTesting;

public class Salesperson {
	private long id, dealer_id;
	private String f_name, l_name;

	public Salesperson(long dealer_id, String fname, String lname) {
		this.dealer_id = dealer_id;
		this.f_name = fname;
		this.l_name = lname;
	}

	public void set_id(long id) {
		this.id = id;
	}

	public void set_fname(String fname) {
		this.f_name = fname;
	}

	public void set_lname(String lname) {
		this.l_name = lname;
	}
	
	public long get_id() {
		return this.id;
	}

	public long get_dealer_id() {
		return this.dealer_id;
	}
	
	public String get_fname() {
		return this.f_name;
	}

	public String get_lname() {
		return this.l_name;
	}

	public String get_full_name() {
		return this.f_name + this.l_name;
	}
	
	@Override
	public String toString() {
		return this.f_name + " " + this.l_name;
	}
}
